#pragma once

#include "sys/IInterface.h"
#include "ServiceID.h"

interface IHierarchyService : public IInterface
{
	DEFINE_IID(IID_HierarchyService)

	virtual IObject* GetSpread(IObject* root,uint32 index) = 0;
	virtual uint32 GetPages(IObject* root,objectarray& pages) const = 0;
	virtual uint32 GetItems(IObject* itemContainer,objectarray& items) = 0;
};

